﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//定义一个结构体，名为PersonStruct，有三个成员变量：姓名、电话、地址，
//在主方法中，创建一个PersonStruct结构体对象p1，为p1的成员变量赋值。
//再声明一个PersonStruct结构体变量p2，把p1赋值给p2，改变p2的姓名，打印p1的内容。
namespace Demo
{
    class Program
    {
        struct PersonStruct
        {
            public string mingzi;
            public int dianhua;
            public string dizhi;
        }
        static void Main(string[] args)
        {
            PersonStruct p1;
            p1.mingzi = "段嗣龙";
            p1.dianhua = 110;
            p1.dizhi = "14栋421";

            PersonStruct p2 = p1;
            p2.mingzi = "段嗣凯";
            Console.WriteLine(p1.mingzi + " " + p1.dianhua + " " + p1.dizhi);

            PersonClass p3 = new PersonClass();
            p3.mingzi = "熏悟空";
            p3.dianhua = 666;
            p3.dizhi = "花果山";

            PersonClass p4 = p3;
            p4.mingzi = "别龙马";
            Console.WriteLine(p3.mingzi + " " + p3.dianhua + " " + p3.dizhi);

            Teachers a = new Teachers();
            a.ID = 1;
            a.Name = "琦玉";
            a.Sex = "男";
            a.Tel = 123;
            a.Cardid = 123;
            a.Title = "一拳超人";
            a.Wageno  = "666";
            a.aa();

            Students b = new Students();
            b.ID = 2;
            b.Name = "漩涡鸣人";
            b.Sex = "男";
            b.Tel = 234;
            b.Cardid = 234;
            b.Major = "修炼忍术";
            b.Grade = "2";
            b.bb();

            Ailuoke  c = new Ailuoke ();
            c.HeroName = "Ailuoke";
            c.HeroFrom = "IG";
            c.PlayerName = "PDD";
            c.Gongji = "500";
            c.Fangyu = "1000";
            c.Speed = "10";
            c.Jineng1 = "碎石打击";
            c.Jineng2 = "烈焰锚钩";
            c.Jineng3 = "战斗咆哮";
            c.cc();

            Taila d = new Taila();
            d.HeroName = "Taila";
            d.HeroFrom = "SKT T1";
            d.PlayerName = "Faker";
            d.Gongji = "1000";
            d.Fangyu = "300";
            d.Speed = "40";
            d.Jineng1 = "巨浪冲击";
            d.Jineng2 = "元素突击";
            d.Jineng3 = "复仇杀戮";
            d.dd();

            Lukasi  e= new Lukasi();
            e.HeroName = "Lukasi";
            e.HeroFrom = "EDG";
            e.PlayerName = "厂长";
            e.Gongji = "700";
            e.Fangyu = "200";
            e.Speed = "90";
            e.Jineng1 = "减速陷阱";
            e.Jineng2 = "能量浪潮";
            e.Jineng3 = "旋风剑舞";
            e.ee();

            Luofei  f = new Luofei ();
            f.HeroName = "Luofei";
            f.HeroFrom = "RNG";
            f.PlayerName = "Ming";
            f.Gongji = "400";
            f.Fangyu = "400";
            f.Speed = "40";
            f.Jineng1 = "能量精灵";
            f.Jineng2 = "暗影传送";
            f.Jineng3 = "时空迸裂";
            f.ff();
        }

    }
}
